Scaling Theory in a Model of Corrosion and Passivation