I read that the anodes in older water heaters were often made from either magnesium or aluminum.