As others have said, electrolysis is what I would say your problem is. I would be looking to see if there is stray current on the piping by putting a volt meter on it to ground and see what you got. I would also put dielectric gasket kits on the pump flanges if the pump is cast iron.