Did you do a reinstall of the OS, or did the system just boot up with the new hardware?
As said, your old Win 7 key is of no consequence anymore.
However, your Win 10 digital entitlement would deactivate itself upon seeing the new hardware.
You should have done this before you changed the hardware:
http://www.tomshardware.com/forum/id-3164428/windows-build-1607-activation.html
This links the OS license to your MS account rather than to specific hardware.
That way, you can just do a full reinstall with the new parts, and have it activateed.
Now...pretty much your only recourse is to call MS, explain the situation, and see if they will allow reuse of that license key on the new hardware.
I've read from several members in here that...