AFAIK, the decryption keys to use the ROMs are not distributed with the emulator, and you need to retrieve these on your own from software licenses you possess.
That's correct, Yuzu doesn't include the keys, but is there any precedent that "bring your own keys" actually works as a loophole around the DMCA circumvention rules? I'm not aware of it ever being tested, so it's unclear whether it would actually hold up in a case where the softwares express purpose is to consume keys for the purpose of circumventing DRM.
Back when the movie industry was going after DVD ripping tools I don't recall anyone trying to dodge legal trouble by making the end-user supply the keys instead, so unfortunately we didn't get a decision either way back then.
To my knowledge the keys are just standard RSA-2048 keys. It's not illegal for a program to support RSA-2048, and it is no concern of the program or its developers where I get my keys from. I could just as easily use these keys in any other program. Even if in some foolish way they made it illegal for Yuzu to support industry standard decryption algorithms in this specific kind of program, then Yuzu would simply require the users to manually decrypt the game beforehand.
So the solution for Nintendo would be to take a risk and make their own encryption scheme?
That way just trying to support that prorietary encryption scheme in the emulator would be enough to run afoul of the DMCA.
But then, as a workaround I could see the proprietary encryption code being supported as an addon (ie: DLL file) that you can just drop in, without distributing it with the emulator itself and letting the users search for it on the digital high seas.