Justice is not sole responsibility of lawyers and judges.
Since many years, people have stopped coming to become witnesses.
They do not have to do Jury Duty, because the Jury System is abolished.
Investigating officers have primarily duty to investigate and to collect evidences. Their transfers are at mercy of politicians.
Even from middle of investigation, they can be transferred. Same is position of public prosecuting lawyers.
Their appointment in a case is subject to control of politicians.
No one is talking about witness protection.
These are the problems. Passing laws is useless without strengthening the system itself.