I implemented it into a mod and did lots of testing.
This makes the mod much simpler and more universal. I would like to thank for programming this version of the script which directly references openvr_api.dll, eliminating the need for referencing Valve.VR. This is Version 2.0.1 of the MelonLoader Unity Universal Culling Fix Mod.