Both are Chinese dramas
Both have a legal theme
The main character is a person involved with law enforcement
The theme of the story is the same, about the prosecutor's profession.
Both dramas concern/relates to the criminal justice system/legal system/the courts.
However, one focuses on prosecutors and the other focuses on lawyers and judges.