Scaling behavior in corrosion and growth of a passive film