If you upgraded to Windows 10 & it was registered to your account then when you install the same version of Windows 10 you should skip entering the Win 7 key.
You may need to choose ‘I’ve recently...