Latest BIOS for your motherboard is Version 7B89v2D. Can be got from here :-
https://uk.msi.com/Motherboard/support/B450M-MORTAR-MAX
This explains how to update the BIOS, use M-Flash in the BIOS to do it and make sure copied on a FAT32 formatted USB stick. Link to how :-
https://storage-asset.msi.com/files/pdf/How_to_flash_the_BIOS.pdf
How to check if windows is UEFI mode.
https://www.tenforums.com/tutorials/85195-check-if-windows-10-using-uefi-legacy-bios.html
Do that stuff first and then will explain further, let me know what mode windows is in before you flash the bios on the motherboard as if in legacy (csm) you will need to make sure to set it back to that to get windows to boot. But if UEFI all you need to do is flash the bios and make sure UEFI is on in bios and csm disabled and set rebar on in the bios and it will enable the 4 decode too on its own and save settings in bios and then check if rebar is enabled in windows via the nvidia drivers or GPU-Z will tell you on first page at the bottom will say enabled or not.
If your windows install says Legacy then you will need to convert windows to UEFI which is easy to do there is a windows command to do it. Just shout if you need help without windows in UEFI rebar will not work and windows will not boot in EUFI mode in the bios.
This explains how to convert windows Legacy mode to UEFI if your windows is not that :-
https://www.windowscentral.com/how-convert-mbr-disk-gpt-move-bios-uefi-windows-10