In the galvanizing process, iron is coated with zinc. The resulting chemical protection is most similar to that provided when:
A. a magnesium bar is connected to an iron pipe
B. an iron can is plated with tin
C. copper pipes are connected using lead solder
D. a copper pipe is covered with epoxy paint.