A state of resistance to corrosion or anodic dissolution caused by thermodynamic stability of the metal.