You solve tyranny by helping people understand that majority rule vote is never justification for forcing everyone to do anything and everything.
But if you think about it, 51% vs. 49% is not a consensus of to the people. It is a division of the people. It doesn't get much more divided than 51 vs 49.
51% vs 49% is no different than one person bullying and pushing another person around. 66% vs 34% is no different than two people bullying and pushing one person around.
We elect representatives using majority rule, and those representatives can use majority rule to decide which products and services to offer the people, but government should NEVER use majority rule to force anyone to pay for, support or use a service or product.
People have a God given right to decide, at the individual level, using their own free agency, as to whether or not they want to use or support a government service or product.