Corrosion inhibitor for metals, which protects metal parts stored outdoors and exposed to environment