JobSchedulerService Crashing on Android 10 and 11

Only on Samsung Android 10 and 11 devices, the below issue is been observed:

Caused by: java.lang.IllegalArgumentException:
at android.os.Parcel.createExceptionOrNull (Parcel.java:2389)
at android.os.Parcel.createException (Parcel.java:2369)
at android.os.Parcel.readException (Parcel.java:2352)
at android.os.Parcel.readException (Parcel.java:2294)
at android.app.job.IJobScheduler$Stub$Proxy.enqueue (IJobScheduler.java:342)
at android.app.JobSchedulerImpl.enqueue (JobSchedulerImpl.java:56)
at androidx.core.app.JobIntentService$JobWorkEnqueuer.enqueueWork (JobIntentService.java:343)
at androidx.core.app.JobIntentService.enqueueWork (JobIntentService.java:523)
at androidx.core.app.JobIntentService.enqueueWork (JobIntentService.java:501)

The issue is not happening on Pixel or any other device. The issue was reported on Google Play store and is widely used by varied devices.