Corrosion is it's own science; it has many contributing variables, among many things being pH, difference in potential, type of metals in contact, and the propensity for those particular metals to interact- in series with the environment and without.
I'm serious; you can get a PhD in the...