Text this: Optimum corrosion performance using microstructure design and additive manufacturing process control