The fill fitting at the deck is supposed to be grounded. This is in case of any static electricity that could cause a fire when the fill nozzle causes it to spark. I can't understand why they would use red wire though, 12 V DC by convention uses red as a hot wire. The tank is also required to be grounded, Maybe to save a little wire they used duplex and ran the red to the fill fitting and tied them both together at the tank then ran the black to the ground buss at the main electrical panel?
Interesting that you found your leak as a pin hole, very similar to my failure. New tank install looks solid.