Corrosion protection for electric vehicles