Anticorrosive agent for metal components