If your religious beliefs stop you from doing your job, then you're not qualified to do that job. Your job is to follow the law and perform legal marriages. Go find some other line of work if that's too difficult for you to understand.

https://www.nbcnews.com/nbc-out/out-politics-and-policy/new-tennessee-law-allows-officials-refuse-perform-sex-marriages-rcna140011

New Tennessee law allows officials to refuse to perform LGBTQ marriages

Tennessee Gov. Bill Lee signed a new law that will allow public officials in the state to refuse to perform same-sex marriages if doing so goes against their beliefs.

NBC News