I had to look up what galvanic corrosion is and found this on the Wikipedia entry:
Lasagna cell Edit
A "lasagna cell" is accidentally produced when salty moist food such as lasagna is stored in a steel baking pan and is covered with aluminum foil. After a few hours the foil develops small holes where it touches the lasagna, and the food surface becomes covered with small spots composed of corroded aluminum. In this example, the salty food (lasagna) is the electrolyte, the aluminum foil is the anode, and the steel pan is the cathode. If the aluminum foil only touches the electrolyte in small areas, the galvanic corrosion is concentrated, and corrosion can occur fairly rapidly. If the aluminum foil was not used with a dissimilar metal container, the reaction was probably a chemical one. It is possible for heavy concentrations of salt, vinegar or some other acidic compounds to cause the foil to disintegrate. The product of either of these reactions is an aluminum salt. It does not harm the food, but any deposit may impart an undesired flavor and color.