db.cpp: compare complete provider and service name