Cost-effective corrosion prevention