https://www.drupal.org/project/commerce_guest_registration/issues/3358260
from patch https://www.drupal.org/files/issues/2023-05-06/commerce-guest-registration-d-10-compatibility-2.patch
Closes #3358260