Bug 57251: Lowercase attributes before sanitization

This avoids dropping them on the floor completely.

We still don't preserve the case of these attributes, but arguably that should
be covered well enough by selser.

Change-Id: Id07eccd94cfe38936e36be7aad8be042fdff7e62
Merge "Bug 57251: Lowercase attributes before sanitization"