If your PC has an ASUS b550m prime WiFi motherboard, that usually indicates that is a custom built PC and the motherboard usually does not come with an OEM Windows licence on the motherboard and if it did, an OEM licence does not have transfer rights to a new motherboard..
1
Do you still have the drive with the original Windows installation, or have you reinstalled Windows on that same drive?
2
In the meantime, open the Settings App.
Go to the Windows activation settings window.
Click the Troubleshoot button, then choose 'I changed my hardware'.
Are you able to see the previously activated device in the list to move the Windows licence to the new motherboard.