Untrusted System File issue

Whenever I try to launch the game, it crashes before even starting. Then I get this popup about an untrusted system file. The directory leads me to a file named “WindowsCodecs.dll” and it won’t let me just delete the file or anything. I have no clue what to do, anything helps