A highly corrosion-resistant, paint-adherent, and lubricating polymer-containing coating on a metal surface can be formed by contact with an aqueous solution (pH=2.0 to 6.5) that contains an acidic compound and polymer with the following formula (I): ##STR1## in which the X bonde