You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: client.go
    path of file: ./repos/neosync/backend/internal/auth/apikey
    
    the code of the file until where you have to start completion: package auth_apikey

import (
	"context"
	"crypto/subtle"
	"errors"
	"net/http"
	"time"

	"connectrpc.com/connect"
	db_queries "gith
    
func secureCompare(a, b string) bool {
	// Convert strings to byte slices for comparison
	aBytes := []byte(a)
	bBytes := []byte(b)

	// Check length first; if they differ, return false immediately
	if len(aBytes) != len(bBytes) {
		return false
	}

	// Use ConstantTimeCompare for a timing-attack resistant comparison
	return subtle.ConstantTimeCompare(aBytes, bBytes) == 1
}