Kinetics of protein deposition and replacement from a shear flow