code: public CouchDbConsentDecision findFirstConsentDecision(final String principal, final String service) {
          val view = createQuery("by_consent_decision").key(ComplexKey.of(principal, service)).limit(1).includeDocs(true);
          return db.queryView(view, CouchDbConsentDecision.class).stream().findFirst().orElse(null);
      }
docs: Find the first consent decision for a given principal, service pair. Should only be one of them anyway.
  @param principal User to search for.
  @param service Service name to search for.
  @return Consent decision matching the given principal and service names.