Effect of Microstructure on Layered Double Hydroxides Film Growth on Mg-2Zn-xMn Alloy

The poor corrosion resistance of magnesium (Mg) alloys significantly restricts their wide applications. The preparation of a layered double hydroxides (LDHs) film can provide effective corrosion protection for Mg alloys. Nevertheless, research on the effect of the Mg alloy microstructure on LDHs film growth is paid less attention, which was studied in detail in this work. Herein, a Mg-2Zn-xMn alloy with different Mn contents was produced, and an LDHs film was then synthesized on their surfaces. The addition of Mn causes a different microstructure in the Mg-2Zn-xMn alloy, which is gradually refined with increasing Mn content, further affecting the surface morphology, surface chemistry, and corrosion protection of the LDHs film. When the Mn content is 1 wt.% (x = 1), the LDHs film presents the best corrosion protection, with the lowest corrosion current density. No obvious corrosion product could be observed by the naked eyes on the surface. By contrast, severe corrosion occurs on the Mg-2Zn-0Mn alloy (x = 0). Finally, the LDHs film growth mechanism


Introduction
As an important structural material, magnesium (Mg) possesses many excellent properties, such as low density, good electromagnetic shielding, and abundant reserves, but its plasticity at room temperature is poor [1,2]. Alloying can effectively improve its plasticity. Recently, the Mg-Zn-Mn alloy presents great application potential in many fields such as the aerospace, automotive, architecture, and biomedical industries because of its high strength, high plasticity, and age hardening [3,4].
Although the second phase can increase the plasticity and strength of alloys, its appearance reduces the corrosion resistance of alloys owing to the low electrode potential of the Mg matrix [5]. Forming a protective coating is one of strategies to improve the corrosion resistance of Mg alloys [6,7]. In recent years, a layered double hydroxides (LDHs) film, whose general formula is [M 2+ 1−x M 3+ x (OH) 2 ] x+ (A n− ) x/n ·mH 2 O, where M 2+ and M 3+ , respectively, represent divalent and trivalent metal cations, has attracted much attention in the corrosion protection for Mg alloys [8][9][10][11][12][13]. A MgAl-LDHs film was in situ produced on AZ31 Mg alloy by Song's group [14]. Zeng et al. [9,10] found that it was only necessary to incorporate a trivalent metal cation to synthesize LDHs on Mg alloys. In Lin et al.'s work [15][16][17], they analyzed the effect of the divalent/trivalent (M 2+ /M 3+ ) cation ratio on the growth of the precursor layer on AZ91 Mg alloy.
Most of the research mainly focuses on the effects of solution pH, temperature, and concentration on the corrosion protection of LDHs films [18,19]. However, they ignore the vital influence from the microstructure of Mg alloys, although Tedim et al. confirmed that the uneven distribution of the microstructure could cause the differential growth of ZnAl-LDHs on the AA2024 alloy, consequently affecting its corrosion protection [20,21]. Therefore, this further underlines the necessity to study the effect of the Mg alloy microstructure on the LDHs film growth and its corrosion protection.
Herein, three kinds of extruded Mg-2Zn-xMn (x = 0, 1, 2) alloys with different Mn contents were produced to generate different microstructures in the Mg alloy. Thereafter, LDHs films were in situ synthesized on their surfaces to investigate the effect of the alloy microstructure on the surface morphology, chemical composition, and corrosion protection of the LDHs film on the Mg alloy. Finally, the LDHs film growth mechanism on the Mg alloys was proposed.

Preparation of LDHs Film on Mg Alloy
The preparation of LDHs film on the Mg alloy is presented in Figure 1a, and the detail is explained as follows. The Mg-2Zn-xMn (x = 0, 1, 2) alloys were produced by melting metallic (Mg ≥ 99.95 wt.%, Zn ≥ 99.95 wt.%, and Mn ≥ 99.95 wt.%) powders in the electric furnace under the mixed gas of CO 2 and SF 6 , named, respectively, ZM20, ZM21, and ZM22. Table 1 lists their chemical compositions. Some impurity elements (such as Fe < 0.03 wt.%, Ni < 0.07 wt.%, Cu < 0.04 wt.%, Si < 0.1 wt.%, Ca < 0.05 wt.%) were present in the alloys. The lower impurity content has little effect on the research of corrosion performance, and these impurity elements can be ignored. Prior to the extrusion, they were pre-heated at 280 • C for 1.5 h. Figure 1b displays the schematic diagram of the extrusion process. The extrusion rate and ratio were 2.5 m·min −1 and 25:1, respectively. After the extrusion deformation, they were cut into samples with a size of 20 × 20 × 2 mm. They were then polished, degreased, and alkaline washed for further treatment. LDHs on the AA2024 alloy, consequently affecting its corrosion protection [20,21]. Therefore, this further underlines the necessity to study the effect of the Mg alloy microstructure on the LDHs film growth and its corrosion protection. Herein, three kinds of extruded Mg-2Zn-xMn (x = 0,1,2) alloys with different Mn contents were produced to generate different microstructures in the Mg alloy. Thereafter, LDHs films were in situ synthesized on their surfaces to investigate the effect of the alloy microstructure on the surface morphology, chemical composition, and corrosion protection of the LDHs film on the Mg alloy. Finally, the LDHs film growth mechanism on the Mg alloys was proposed.

Preparation of LDHs Film on Mg Alloy
The preparation of LDHs film on the Mg alloy is presented in Figure 1a, and the detail is explained as follows. The Mg-2Zn-xMn (x = 0,1,2) alloys were produced by melting metallic (Mg ≥ 99.95 wt.%, Zn ≥ 99.95 wt.%, and Mn ≥ 99.95 wt.%) powders in the electric furnace under the mixed gas of CO2 and SF6, named, respectively, ZM20, ZM21, and ZM22. Table 1 lists their chemical compositions. Some impurity elements (such as Fe < 0.03 wt.%, Ni < 0.07 wt.%, Cu < 0.04 wt.%, Si < 0.1 wt.%, Ca < 0.05 wt.%) were present in the alloys. The lower impurity content has little effect on the research of corrosion performance, and these impurity elements can be ignored. Prior to the extrusion, they were preheated at 280 °C for 1.5 h. Figure 1b displays the schematic diagram of the extrusion process. The extrusion rate and ratio were 2.5 m·min −1 and 25:1, respectively. After the extrusion deformation, they were cut into samples with a size of 20 × 20 × 2 mm. They were then polished, degreased, and alkaline washed for further treatment.   In order to synthesize LDHs on Mg alloys, a mixture of 0.3 M NH 4 NO 3 and 0.05 M Al(NO 3 ) 3 was dissolved in deionized water with vigorous stirring for 15 min, and the solution pH was adjusted to 10.7. The Mg alloy was immersed into the solution and then transferred to a Teflon-lined autoclave, which was then sealed and placed in an oven at 125 • C for 12 h. After that, the samples were cleaned with deionized water and dried at 60 • C for 2 h.

Characterization
The Mg alloy samples were successively abraded from 200 to 2000 grit using silicon carbide sandpaper, and then they were polished by a polishing machine (MP-2, Ningbo, China) to a mirror finish. Subsequently, they were etched by a reagent consisting of 2.5 g picric acid + 3 mL acetic acid + 21 mL ethanol so that they could be observed with a metallographic microscope (DM2700M, Leica, Germany). The surface morphology was examined by a scanning electron microscope (SEM, JSM-6700F, JEOL, Tokyo, Japan), with an accelerating voltage of 5 kV. The X-ray diffraction (XRD) pattern was collected by an X-ray diffractometer (Rigaku D/max, Rigaku, Tokyo, Japan) equipped with Cu Kα radiation (λ = 1.5418 Å). The chemical composition was analyzed by an energy dispersive spectrometer (EDS, INCA Energy 350, Oxford, Abingdon, UK) and Fourier transform infrared absorption spectrometer (FTIR, NiCOLET-5DX, Thermo Scientific, Waltham, MA, USA). Electrochemical tests were performed by an electrochemical workstation (PARSTAT 4000A, Berwyn, PA, USA). A typical three-electrode cell system was applied to measure the electrochemical impedance spectra (EIS) and Tafel curve, which was carried out after the open-circuit potential was stable. The amplitude was 10 mV, and the test frequency ranged from 10 5 to 10 −2 Hz. Subsequently, a potentiodynamic polarization curve was measured at a scan rate of 0.5 mV·s −1 . The tested results were fitted by the software ZSimpWin 3.60. The hydrogen evolution was carried out by a home-made device, as shown in Figure 1c.

Alloy Microstructure
The metallographic microstructures of the as-extruded Mg-2Zn-xMn alloys are presented in Figure 2. Only in the ZM20 alloy ( Figure 2a) did complete dynamic recrystallization occur. By contrast, a large number of incomplete dynamic recrystallized grains (i.e., coarse grains) are observed in both ZM21 ( Figure 2b) and ZM22 (Figure 2c) alloys. On the other hand, as shown in Figure 2, with increasing Mn content, the alloy microstructure is gradually refined, which was also confirmed in [10], where the alloy microstructure can be refined as there is an increase in the Mn content. Further, their SEM images and corresponding EDS results are correspondingly exhibited in Figure S1 (in Supplementary Materials) and Table 1. According to the phase diagram of Mg-Zn-Mn alloy, it is mainly composed of three phases: Mn, α-Mg, and Mg-Zn [4]. Therefore, the second phase in the ZM20 alloy is merely the Mg-Zn phase. Besides the increased Mn content, the content of the Mg-Zn phase is also increased with increasing Mn content, as presented in Table 1. The solid solubility of Mn and Zn in the Mg matrix is less than 0.1% and more than 5% at 300 °C, respectively [21][22]. Thus, the precipitation of Mn may precede the Mg-Zn second phase during the extrusion process, so that it can provide heterogeneous nucleation sites for the Mg-Zn second phase. Consequently, with increasing Mn content, the precipitation of the Mg-Zn phase also increases gradually.

Surface Morphology of the LDHs Film on Mg alloy
Compared with the film on the ZM20 alloy (Figure 3a), the films on ZM21 ( Figure  3d) and ZM22 ( Figure 3g) alloys are more complete, without obvious cracks or holes (Figure 3e,f,h,i). Nevertheless, most of the area of the film on ZM20 alloy is uniformly distributed by numerous nanosheets (Figure 3c). The EDS results (Table 2) show that the main composition of the film is O, Mg, and Al. According to the Mg/Al ratio, it can be concluded that the LDHs film has been successfully formed on the Mg alloy. As for the wide crack on the ZM20 alloy ( Figure 3b), it may be ascribed to the stress generated during the LDHs film growth [9]. A few small protrusions are observed on the ZM21-LDHs surface (Figure 3d), while a large number of protrusions with larger size are on the ZM22-LDHs surface shown in Figure 3g. According to their high-magnification images ( Figure  3e,f,h,i), the nanosheets still grow perpendicular to the ZM21 alloy, while they seem to collapse on the ZM22 alloy.  Further, their SEM images and corresponding EDS results are correspondingly exhibited in Figure S1 (in Supplementary Materials) and Table 1. According to the phase diagram of Mg-Zn-Mn alloy, it is mainly composed of three phases: Mn, α-Mg, and Mg-Zn [4]. Therefore, the second phase in the ZM20 alloy is merely the Mg-Zn phase. Besides the increased Mn content, the content of the Mg-Zn phase is also increased with increasing Mn content, as presented in Table 1. The solid solubility of Mn and Zn in the Mg matrix is less than 0.1% and more than 5% at 300 • C, respectively [21,22]. Thus, the precipitation of Mn may precede the Mg-Zn second phase during the extrusion process, so that it can provide heterogeneous nucleation sites for the Mg-Zn second phase. Consequently, with increasing Mn content, the precipitation of the Mg-Zn phase also increases gradually.

Surface Morphology of the LDHs Film on Mg Alloy
Compared with the film on the ZM20 alloy (Figure 3a (Table 2) show that the main composition of the film is O, Mg, and Al. According to the Mg/Al ratio, it can be concluded that the LDHs film has been successfully formed on the Mg alloy. As for the wide crack on the ZM20 alloy ( Figure 3b), it may be ascribed to the stress generated during the LDHs film growth [9]. A few small protrusions are observed on the ZM21-LDHs surface (Figure 3d), while a large number of protrusions with larger size are on the ZM22-LDHs surface shown in Figure 3g. According to their high-magnification images (Figure 3e,f,h,i), the nanosheets still grow perpendicular to the ZM21 alloy, while they seem to collapse on the ZM22 alloy.   The presentative cross-sectional morphology of the LDHs film is presented in Figure 4. In order to ensure the accuracy, three~five samples were prepared to measure their thickness. The film thickness on the ZM20 alloy is the largest, about 2.7 µm. With increasing Mn content, the film thickness is correspondingly decreased to 1.6 µm on the ZM21 alloy ( Figure 4b) and 1.4 µm on the ZM22 alloy (Figure 4c). This is probably because the increasing Mn causes the difference in the electrode potential between the α-Mg and the Mg-Zn phases to decrease, and the number of the formed micro-battery also decreases. Consequently, not enough Mg 2+ could be provided for the growth of the LDHs film, so the film thickness gradually decreases with increasing Mn content.
Coatings 2021, 11, x FOR PEER REVIEW 6 of 11 The presentative cross-sectional morphology of the LDHs film is presented in Figure 4. In order to ensure the accuracy, three~five samples were prepared to measure their thickness. The film thickness on the ZM20 alloy is the largest, about 2.7 μm. With increasing Mn content, the film thickness is correspondingly decreased to 1.6 μm on the ZM21 alloy ( Figure 4b) and 1.4 μm on the ZM22 alloy (Figure 4c). This is probably because the increasing Mn causes the difference in the electrode potential between the α-Mg and the Mg-Zn phases to decrease, and the number of the formed micro-battery also decreases. Consequently, not enough Mg 2+ could be provided for the growth of the LDHs film, so the film thickness gradually decreases with increasing Mn content.

Surface Chemistry of the LDHs Film on Mg Alloy
Figure 5a reveals the XRD patterns of the LDHs film on Mg alloys. The characteristic diffraction peaks of the (003) and (006) planes at 11.7° and 23.3° further indicate MgAl-LDHs films are successfully prepared on these three alloys. As the Mn content increases, the position of the characteristic peak remains unchanged, so the spacing between crystal planes is almost the same. In addition to the characteristic peaks of the LDHs film, the strong Mg(OH)2 peaks are also detected in Figure 5a, demonstrating the developed film also contains Mg(OH)2. The FTIR spectra were used to further evaluate the surface chemistry, as presented in Figure 5b. The wide absorption band at 3460 cm −1 is assigned to the asymmetric and symmetric stretching vibrations of water molecules. The sharp band at 3693 cm −1 is related to the stretching vibrations of -OH groups. The strong absorption peaks near 1380 cm −1 are the asymmetric tensile peaks of NO3 − in the intercalation [23]. The higher the Mn con-

Surface Chemistry of the LDHs Film on Mg Alloy
Figure 5a reveals the XRD patterns of the LDHs film on Mg alloys. The characteristic diffraction peaks of the (003) and (006) planes at 11.7 • and 23.3 • further indicate MgAl-LDHs films are successfully prepared on these three alloys. As the Mn content increases, the position of the characteristic peak remains unchanged, so the spacing between crystal planes is almost the same. In addition to the characteristic peaks of the LDHs film, the strong Mg(OH) 2 peaks are also detected in Figure 5a, demonstrating the developed film also contains Mg(OH) 2 .
Coatings 2021, 11, x FOR PEER REVIEW 6 of 11 The presentative cross-sectional morphology of the LDHs film is presented in Figure 4. In order to ensure the accuracy, three~five samples were prepared to measure their thickness. The film thickness on the ZM20 alloy is the largest, about 2.7 μm. With increasing Mn content, the film thickness is correspondingly decreased to 1.6 μm on the ZM21 alloy ( Figure 4b) and 1.4 μm on the ZM22 alloy (Figure 4c). This is probably because the increasing Mn causes the difference in the electrode potential between the α-Mg and the Mg-Zn phases to decrease, and the number of the formed micro-battery also decreases. Consequently, not enough Mg 2+ could be provided for the growth of the LDHs film, so the film thickness gradually decreases with increasing Mn content.

Surface Chemistry of the LDHs Film on Mg Alloy
Figure 5a reveals the XRD patterns of the LDHs film on Mg alloys. The characteristic diffraction peaks of the (003) and (006) planes at 11.7° and 23.3° further indicate MgAl-LDHs films are successfully prepared on these three alloys. As the Mn content increases, the position of the characteristic peak remains unchanged, so the spacing between crystal planes is almost the same. In addition to the characteristic peaks of the LDHs film, the strong Mg(OH)2 peaks are also detected in Figure 5a, demonstrating the developed film also contains Mg(OH)2. The FTIR spectra were used to further evaluate the surface chemistry, as presented in Figure 5b. The wide absorption band at 3460 cm −1 is assigned to the asymmetric and symmetric stretching vibrations of water molecules. The sharp band at 3693 cm −1 is related to the stretching vibrations of -OH groups. The strong absorption peaks near 1380 cm −1 are the asymmetric tensile peaks of NO3 − in the intercalation [23]. The higher the Mn con- The FTIR spectra were used to further evaluate the surface chemistry, as presented in Figure 5b. The wide absorption band at 3460 cm −1 is assigned to the asymmetric and symmetric stretching vibrations of water molecules. The sharp band at 3693 cm −1 is related to the stretching vibrations of -OH groups. The strong absorption peaks near 1380 cm −1 are the asymmetric tensile peaks of NO 3 − in the intercalation [23]. The higher the Mn content, the sharper the tensile peak of NO 3 − . Other adsorption bands below 800 cm −1 are associated with the metal-oxygen (M-O) stretching and bending modes in the brucite-like lattice.

Corrosion Protection of the LDHs Film on Mg Alloy
The Tafel polarization curve is exhibited in Figure 6, and the electrochemical parameters are correspondingly listed in Table 3. According to the corrosion current density, the corrosion rate can be arranged in the following sequence: ZM20-LDHs (1.8 µA·cm −2 ) > ZM22-LDHs (1.1 µA·cm −2 ) > ZM21-LDHs (0.4 µA·cm −2 ). In addition, the LDHs film on the ZM21 alloy possesses the highest corrosion potential, with a value of −0.22 vs. SCE, further indicating it can provide the best corrosion protection for the Mg alloy. This is related to its dense surface morphology as shown in Figure 3d-f. Considering the surface morphology of the ZM22-LDHs film, it can offer moderate corrosion protection for the ZM22 alloy. By contrast, the corrosion protection of the LDHs film for the ZM20 alloy is the worst in this work. Although the thickness of the LDHs film on ZM20 is the thickest (2.7 µm), there exist many cracks on its surface, providing paths for the corrosive ions to penetrate into the film to reach the Mg alloy. Therefore, the corrosion protection of the ZM20-LDHs film for the Mg alloy is deteriorated, with the largest corrosion current density and the lowest corrosion potential.
Coatings 2021, 11, x FOR PEER REVIEW 7 of 11 tent, the sharper the tensile peak of NO3 − . Other adsorption bands below 800 cm −1 are associated with the metal-oxygen (M-O) stretching and bending modes in the brucite-like lattice.

Corrosion Protection of the LDHs Film on Mg Alloy
The Tafel polarization curve is exhibited in Figure 6, and the electrochemical parameters are correspondingly listed in Table 3. According to the corrosion current density, the corrosion rate can be arranged in the following sequence: ZM20-LDHs (1.8 μA·cm −2 ) > ZM22-LDHs (1.1 μA·cm −2 ) > ZM21-LDHs (0.4 μA·cm −2 ). In addition, the LDHs film on the ZM21 alloy possesses the highest corrosion potential, with a value of −0.22 vs. SCE, further indicating it can provide the best corrosion protection for the Mg alloy. This is related to its dense surface morphology as shown in Figure 3d-f. Considering the surface morphology of the ZM22-LDHs film, it can offer moderate corrosion protection for the ZM22 alloy. By contrast, the corrosion protection of the LDHs film for the ZM20 alloy is the worst in this work. Although the thickness of the LDHs film on ZM20 is the thickest (2.7 μm), there exist many cracks on its surface, providing paths for the corrosive ions to penetrate into the film to reach the Mg alloy. Therefore, the corrosion protection of the ZM20-LDHs film for the Mg alloy is deteriorated, with the largest corrosion current density and the lowest corrosion potential.  In order to better analyze their corrosion behavior, EIS spectra were measured, as shown in Figure 7. From Figure 7a, the resistance sequence is as follows: ZM21-LDHs > ZM22-LDHs > ZM20-LDHs. The LDHs film on the ZM21 alloy provides the best corrosion protection for the Mg alloy, while the film on ZM20 provides the worst corrosion protection, which is consistent with the Tafel results. In particular, the equivalent circuit is the inset in Figure 7a. The Bode phase angle diagram (Figure 7b) discloses that all samples have two time constants, correspondingly representing the LDHs film capacitance Cout and the interface oxide layer capacitance Cinn. The electrochemical behavior of the thin  In order to better analyze their corrosion behavior, EIS spectra were measured, as shown in Figure 7. From Figure 7a, the resistance sequence is as follows: ZM21-LDHs > ZM22-LDHs > ZM20-LDHs. The LDHs film on the ZM21 alloy provides the best corrosion protection for the Mg alloy, while the film on ZM20 provides the worst corrosion protection, which is consistent with the Tafel results. In particular, the equivalent circuit is the inset in Figure 7a. The Bode phase angle diagram (Figure 7b) discloses that all samples have two time constants, correspondingly representing the LDHs film capacitance C out and the interface oxide layer capacitance C inn . The electrochemical behavior of the thin film is not exactly capacitive, so C is replaced by CPE and n refers to the similarity. It is found from the detailed fitting data ( Table 4) that the R inn values for all samples are larger than R out . The interface oxide layer can be used to represent the overall corrosion resistance because it is the closest to the substrate. Among these three samples, the R inn value of ZM21-LDHs is the largest, up to 8.01 × 10 3 Ω, further confirming its best corrosion protection for the ZM21 alloy. film is not exactly capacitive, so C is replaced by CPE and n refers to the similarity. It is found from the detailed fitting data ( Table 4) that the Rinn values for all samples are larger than Rout. The interface oxide layer can be used to represent the overall corrosion resistance because it is the closest to the substrate. Among these three samples, the Rinn value of ZM21-LDHs is the largest, up to 8.01 × 10 3 Ω, further confirming its best corrosion protection for the ZM21 alloy.  Figure 7a is the equivalent circuit. In order to further evaluate the corrosion protection of the developed LDHs film for the Mg-2Zn-xMn alloy, the samples were immersed in 3.5 wt.% NaCl solution for 7 days. Their SEM images and optical images after the immersion test are, respectively, presented in Figures S2 and S3 (in Supplementary Materials). Serious corrosion occurs on the ZM20-LDHs film. Sesame-sized pitting holes that penetrated through the sample are observed on the ZM20 alloy, and a large amount of white corrosion products are accumulated around the corrosion pit on its surface. As for the ZM21-LDHs film, it is still flat on the ZM21 alloy, free of holes, and no obvious corrosion products can be observed, indicating the LDHs film can effectively protect the Mg alloy substrate from corrosion, consistent with the Tafel and EIS results. Figure 8 shows the average hydrogen evolution volume of samples in 3.5 wt.% NaCl solution at 25 °C. The total hydrogen release gradually increases with the time for each sample in Figure 8a. The produced hydrogen volume by ZM21-LDHs is the lowest, while that by ZM20-LDHs is the largest, which is still consistent with the above results. From Figure 8b, the hydrogen evolution rate of ZM21-LDHs remains almost unchanged, with the smallest value, further indicating the good protection of LDHs film for the Mg substrate, while the hydrogen evolution rate of ZM20-LDHs is, not surprisingly, gradually increased.  In order to further evaluate the corrosion protection of the developed LDHs film for the Mg-2Zn-xMn alloy, the samples were immersed in 3.5 wt.% NaCl solution for 7 days. Their SEM images and optical images after the immersion test are, respectively, presented in Figures S2 and S3 (in Supplementary Materials). Serious corrosion occurs on the ZM20-LDHs film. Sesame-sized pitting holes that penetrated through the sample are observed on the ZM20 alloy, and a large amount of white corrosion products are accumulated around the corrosion pit on its surface. As for the ZM21-LDHs film, it is still flat on the ZM21 alloy, free of holes, and no obvious corrosion products can be observed, indicating the LDHs film can effectively protect the Mg alloy substrate from corrosion, consistent with the Tafel and EIS results. Figure 8 shows the average hydrogen evolution volume of samples in 3.5 wt.% NaCl solution at 25 • C. The total hydrogen release gradually increases with the time for each sample in Figure 8a. The produced hydrogen volume by ZM21-LDHs is the lowest, while that by ZM20-LDHs is the largest, which is still consistent with the above results. From Figure 8b, the hydrogen evolution rate of ZM21-LDHs remains almost unchanged, with the smallest value, further indicating the good protection of LDHs film for the Mg substrate, while the hydrogen evolution rate of ZM20-LDHs is, not surprisingly, gradually increased.

Formation Mechanism of the LDHs Film on Mg Alloy
The effect of the surface microstructure on the growth behavior of MgAl-LDHs on the Mg alloy is unveiled in Figure 9. Compared with the ZM20 alloy, the addition of Mn provides nucleation sites for the precipitation of the second phase of Mg-Zn, resulting in a smaller grain size and finer dispersion of the second phase. Generally, the finer the grain, the better the corrosion resistance of the material, and the less Mg 2+ can be dissolved. The in situ growth of the LDHs film strongly depends on the dissolution of the Mg matrix. Therefore, the LDHs film is much thinner with the increasing Mn content, as shown in Figure 4. As for the sample itself, the second phase acts as a cathode in the Mg-Zn-xMn alloy, increasing the potential difference with the Mg matrix and resulting in micro-galvanic corrosion. Thus, the local dissolved Mg 2+ is increased, which is beneficial to the growth of the LDHs film. Consequently, the growth rate of the LDHs film at different regions (with and without the Mg-Zn phase) is different on the ZM20 Mg alloy, resulting in the cracks near the second phase (Figures 3a and 9a). When the Mn content is 1 wt.%, because of the existence of much more second phase with smaller size, the corrosion resistance of the matrix in the local area decreases, the Mg 2+ source increases, and a few protrusions appear (Figures 3d and 9b). Nevertheless, there is no obvious crack on the film surface, providing good protection for the ZM21 Mg alloy. When the Mn content is increased to 2 wt.%, the second phase of Mg-Zn in the matrix becomes finer and more dispersed. The increase in the number of the second phase leads to the increase in the number of protrusions (Figures  3g and 9c). The uneven distribution of protrusions decreases the corrosion resistance of the LDHs film on the ZM22 Mg alloy.

Formation Mechanism of the LDHs Film on Mg Alloy
The effect of the surface microstructure on the growth behavior of MgAl-LDHs on the Mg alloy is unveiled in Figure 9. Compared with the ZM20 alloy, the addition of Mn provides nucleation sites for the precipitation of the second phase of Mg-Zn, resulting in a smaller grain size and finer dispersion of the second phase. Generally, the finer the grain, the better the corrosion resistance of the material, and the less Mg 2+ can be dissolved. The in situ growth of the LDHs film strongly depends on the dissolution of the Mg matrix. Therefore, the LDHs film is much thinner with the increasing Mn content, as shown in Figure 4.

Formation Mechanism of the LDHs Film on Mg Alloy
The effect of the surface microstructure on the growth behavior of MgAl-LD the Mg alloy is unveiled in Figure 9. Compared with the ZM20 alloy, the addition provides nucleation sites for the precipitation of the second phase of Mg-Zn, resul a smaller grain size and finer dispersion of the second phase. Generally, the finer the the better the corrosion resistance of the material, and the less Mg 2+ can be dissolve in situ growth of the LDHs film strongly depends on the dissolution of the Mg m Therefore, the LDHs film is much thinner with the increasing Mn content, as sho As for the sample itself, the second phase acts as a cathode in the Mg-Zn-xMn increasing the potential difference with the Mg matrix and resulting in micro-ga corrosion. Thus, the local dissolved Mg 2+ is increased, which is beneficial to the gro the LDHs film. Consequently, the growth rate of the LDHs film at different regions and without the Mg-Zn phase) is different on the ZM20 Mg alloy, resulting in the near the second phase (Figures 3a and 9a). When the Mn content is 1 wt.%, because existence of much more second phase with smaller size, the corrosion resistance matrix in the local area decreases, the Mg 2+ source increases, and a few protrusions a (Figures 3d and 9b). Nevertheless, there is no obvious crack on the film surface, prov good protection for the ZM21 Mg alloy. When the Mn content is increased to 2 wt. second phase of Mg-Zn in the matrix becomes finer and more dispersed. The incre the number of the second phase leads to the increase in the number of protrusions (F As for the sample itself, the second phase acts as a cathode in the Mg-Zn-xMn alloy, increasing the potential difference with the Mg matrix and resulting in micro-galvanic corrosion. Thus, the local dissolved Mg 2+ is increased, which is beneficial to the growth of the LDHs film. Consequently, the growth rate of the LDHs film at different regions (with and without the Mg-Zn phase) is different on the ZM20 Mg alloy, resulting in the cracks near the second phase (Figures 3a and 9a). When the Mn content is 1 wt.%, because of the existence of much more second phase with smaller size, the corrosion resistance of the matrix in the local area decreases, the Mg 2+ source increases, and a few protrusions appear (Figures 3d and 9b). Nevertheless, there is no obvious crack on the film surface, providing good protection for the ZM21 Mg alloy. When the Mn content is increased to 2 wt.%, the second phase of Mg-Zn in the matrix becomes finer and more dispersed. The increase in the number of the second phase leads to the increase in the number of protrusions (Figures 3g and 9c). The uneven distribution of protrusions decreases the corrosion resistance of the LDHs film on the ZM22 Mg alloy.

Conclusions
In this work, an LDHs film was prepared on an as-extruded Mg-2Zn-xMn (x = 0, 1, 2) Mg alloy substrate to investigate the influence of the alloy microstructure on the film growth mechanism and performance. During the extrusion process, the ZM20 alloy underwent complete dynamic recrystallization; the addition of Mn provided a large number of nucleation sites for recrystallization, and the grains were refined, causing the formed LDHs film to be thinner and denser. This is beneficial to the corrosion protection for the Mg alloy. Among these three samples, the LDHs film on ZM21 presents the best corrosion protection, with the lowest corrosion current of 0.4 µA·cm −2 and the largest corrosion potential of −0.22 vs. SCE. Consequently, no obvious corrosion product could be observed on the ZM21 after immersion in 3.5 wt.% NaCl solution for 7 days. By contrast, sesamesized pits appeared on ZM20, through the whole sample, which were related to the cracks on the LDHs film surface. The LDHs film on the ZM22 alloy provides moderate corrosion protection, associated with a large amount of protrusions on its surface. Therefore, a suitable Mn content can effectively improve the corrosion resistance of the Mg alloy, while the corrosion resistance can be decreased if the Mn content is too high. This work confirms the necessity to study the effect of the alloy microstructure on the LDHs film growth, which would improve the corrosion resistance of Mg alloys to accelerate their wide applications in practice.