Novel corrosion-resistant behavior and mechanism of a biomimetic surface with switchable wettability on Mg alloy