Pass DB in path for match_prefix, for consistency.