public static function scrubRequestHttpHeaders(
        $httpHeaders,
        array $headersToScrub
    ) {
        foreach ($headersToScrub as $header) {
            $regex = sprintf(self::$HTTP_REQUEST_HEADER_REGEX, $header);
            $httpHeaders = preg_replace($regex, '\1' . self::$REDACTED, $httpHeaders, 1);
        }

        return $httpHeaders;
    }