Motocross Madness 2 used exactly this kind of protection. Every time you launched mcm2.exe , the game would poll your D:\ or E:\ drive, looking for a specific volume ID or data signature on the disc.
Some users use a tool called (v1.5.5) to manually decrypt the original MCM2.ICD file found in the game folder. motocross madness 2 no cd patch
Motocross Madness 2 - PCGamingWiki
The intended purpose was anti-piracy. The unintended consequences were: Motocross Madness 2 used exactly this kind of protection
allows you to bypass the broken DRM check so the game can actually reach the main menu. Preservation: motocross madness 2 no cd patch