Corrosion protection for avionic and electronic components