Reagents for metal corrosion control