just shooting into the dark here but following the bottom lines on FGenericPlatformMisc::GetDeviceId | Unreal Engine Documentation
it reads “set GET_DEVICE_ID_UNAVAILABLE=1 in your build step to ensure that any calls that may be made to this API will simply return an empty string.”
So maybe this is the new default and you need to set GET_DEVICE_ID_UNAVAILABLE=0 in your build step