When I was a child, it was required that we females wear something on the head WHEN WE ATTENDED OUR CATHOLIC CHURCH.
The Catholic Church has requirements for dress for clergy, religious (nuns) and the laity (modesty, femininity/gentlemanly).
None of which are prohibited by nor constraining to the Constitution, or, the law of the land, the term so popular this week among progressives.
And the Constitution does not interfere with what we do during Mass, and vice versa.