Most religious folks already do this. This just protects them from frivolous suits. If someone wants to get married in a faith arrangement, find a faith that approves of the couple's (trios, etc, ) actions.
Zero rights are infringed here. Actually the bill protects the freedom of religion. Of course, you would miss that.