How does acidity affect electrode potentials?
There are numerous reactions that involve iron and many involve either $\ce{H+}$ and $\ce{OH-}$. Take a look at this table and search for "$\ce{Fe}$". The non-standard potential for each one depends on the concentration of the species involved, and for the ones with hydrogen or hydroxide ions this means it includes the pH. This is described by the Nernst Equation. The potential varies as the natural log of the concentration, so you would add or subtract the pH or pOH, depending on the half reaction in question.