Corrosion protection of metal parts