Anti-scaling and anti-corrosion