Extracts the project ID from a CorsOriginError message.
The error to extract the project ID from.
The project ID or null if the error is not a CorsOriginError.
Extracts the project ID from a CorsOriginError message.