This is all very similar to what goes on in primary cells.
Or indeed when a galvanised roof has a bad scratch- once you have the two different metals exposed to rainwater, a cell is formed
that is basically short-circuited, so a toroidal current path forms, the chlorides get to work, and the roof has a hole in it in a shorter time than if
it hadn't been galvanised.....