Google these words -> "Change motherboard and save XP Operating System"

And about the OEM code. OEM versions are locked down and it would be proper for such troubles. Same thing about activation of OEM after such a change. I would be duplicating the web if I wrote more. Fix? A fresh install of a non-OEM version.