Different metals are almost unavoidable in a heating system, typically steel and copper. That can cause electrolytic action, but it shouldn't. The one other thing that is needed, to make the system into a big galvanic corrosion cell is a suitable electrolyte, preferably acidic.
Where do the...