Galvanic and chemical lines for surface treatment of metals