I don't know if this will work but I might have something far more powerful that also works in CarX Drift Racing 2. First some requirements.
1: You WILL need a rooted device.(for non root users get vmos pro except if you are using android 13 as it does not work.)
2: Lucky patcher. When patching the game only have the first two options selected. The reason why your device need to be rooted is because Lucky patcher then has more authority on your device and thus can patch in depth.
The advantage of using Lucky patcher is that google play login is possible and you can save your progress and use it on other devices without lucky patcher or root. I would appreciate if someone with access to the game can maybe test this