All perfect praise be to Allaah, The Lord of the worlds. I testify that there is none worthy of worship except Allaah and that Muhammad is His slave and Messenger.
What you are obliged to do is to carry out the work duties assigned to you in the best manner possible. If you happened to witness any violations being committed, then you should advise the person who commits them wisely and in a good manner; hopefully, he will stop and repent to Allaah. If he refuses to listen to your advice or you could not advise him directly or through any mediator, then you should report the violation to the concerned authority in order to put an end to that injustice, give each his due, and punish the offender.
You bear no sin for that, and you are not obliged to quit your work for the reason that you mentioned. If you do what you have to do, you are not to be blamed or harmed for the misguidance of those who have gone astray. Allaah, The Exalted, says (what means): {O you who have believed, upon you is (responsibility for) yourselves. Those who have gone astray will not harm you when you have been guided. To Allaah is your return all together; then He will inform you of what you used to do.} [Quran 5:105]
Shaykhul-Islam Ibn Taymiyyah wrote, "If the Muslim does his duty of enjoining what is good and forbidding what is evil and does his other duties as well, then the misguidance of those who have gone astray will not harm him."
Allaah knows best.