code: def check_originating_identity():
      
      from flask import request, json
      if "X-Broker-API-Originating-Identity" in request.headers:
          try:
              platform, value = request.headers["X-Broker-API-Originating-Identity"].split(None, 1)
              request.originating_identity = {
                  'platform': platform,
                  'value': json.loads(base64.standard_b64decode(value))
              }
          except ValueError as e:
              return to_json_response(ErrorResponse(
                  description='Improper "X-Broker-API-Originating-Identity" header. ' + str(e))
              ), HTTPStatus.BAD_REQUEST
      else:
          request.originating_identity = None
docs: Check and decode the "X-Broker-API-Originating-Identity" header
      https://github.com/openservicebrokerapi/servicebroker/blob/v2.13/spec.md#originating-identity