code: protected String buildAndEncodeConsentAttributes(final Map<String, List<Object>> attributes) {
          try {
              val json = MAPPER.writer(new MinimalPrettyPrinter()).writeValueAsString(attributes);
              val base64 = EncodingUtils.encodeBase64(json);
              return this.consentCipherExecutor.encode(base64);
          } catch (final Exception e) {
              throw new IllegalArgumentException("Could not serialize attributes for consent decision");
          }
      }
docs: Build consent attribute names string.
  
  @param attributes the attributes
  @return the string