A Genuine KMS Server or a Safe emulator downloaded from **Name Withheld** wouldn't change the Windows License/Key from OEM to KMS. My suspicion is it was caused by an unauthorized copy of Office. Removing the KMS program then running an Admin CMD prompt of slmgr /upk will remove the KMS key. After that a restart should return Your status to Genuine using the embedded Key.
Now the problem is Possible Malware in Your PC from the KMS ! All the Bad emulators I've tested that changed the License type were severely compromised by Malware. I'd suggest Full scans with Defender then SuperAntiSpyware Free and Malwarebytes Free. Hopefully those will disinfect the system enough for you to backup any important Date to another drive. If the system is still infected You might have to run something like
RKill Download and the others at the bottom of that page before salvaging the Data.
With any Malware that has ADMIN level control I recommend a low-level format on the HDD and a fresh install.