Hi,
As far as the engine itself, the two different model years indicate the exact same part number, so it should switch without difficulty. However, there could be differences in sensors and other electronics, so I recommend switching them from one to the other.
If you look at pics 1 and 2, I highlighted the part numbers for both model years.
I don't know if you need them, but I included the directions for an engine replacement specific to this car.
Let me know if this helps or if you have other questions.
Take care,
Joe
See pics below.
Images (Click to make bigger)
Friday, January 7th, 2022 AT 9:13 PM