Iron galvanized with zinc is cathodically protected from corrosion. This is because?