Friction in a coated surface deformed by a sliding sphere