ALTHOUGH... if you put it in M2_2 slot it will operate in PCIe gen 2 mode. That is a chipset limitation since all PCIe lanes provided by X470/B450 are Gen 2. Placed in M2_1 slot it will get full PCIe gen 3 bandwidth since those lanes come from the CPU so obviously it's preferred for a single NVME.
Also, but less important, any NVME put in M2_2 slot will probably 'steal' it's lanes from the second PCIe x16/4 slot so it will not be functional anymore. At least that's how MSI shared lanes on my B450m Mortar.