Sacrifice
The ocean is a battery. Salt water conducts. The various metal parts of the boat conduct.
And this means some parts are being galvanized. Other parts are giving up atoms to support the galvanization.
Since it's inevitable, and unstoppable, the solution is sacrificial anodes that can give up metal and …