The idea of separation of Church and State came from the Reformation, and it was explicitly about separation of the legal entities. And they were legal entities - notably under Calvin the Genevan Consistory was the entity in charge of religious life and it was separated to the civil authorities.
See
https://en.wikipedia.org/wiki/Two_kingdoms_doctrine#Response...
https://en.wikipedia.org/wiki/Genevan_Consistory
In any case, this has nothing to do with consent laws, which are entirely a matter for the state.