Corrosion protection of metal