Legical
That's an admirable way of looking at the US justice system, but not quite how it really works. The system is adversarial, and "the truth" is a narrative advocated by one of the combatants.
Given enough data, a DA could choose which facts fit their narrative and present a very convincing "truth" to a jury. Unless defendants have access to the entire dataset and can select their own datapoints to refute that narrative, they're fighting at an extreme disadvantage.
Picture a scenario where a person gets murdered, and you're on trial because the only evidence the police have is a smart streetlight log of your car's whereabouts that show you parked in front of a mob-owned business and later in front of the victims house. Your truth is a simple dinner and date with the victims neighbor. The DA's truth is "backed by data".
Yes, this sounds far-fetched and may be an oversimplification, but it's important to remember that the justice system isn't programming and access to more general data doesn't necessarily level the playing field.