If you value your privacy, stop putting prosecutors on the bench and appoint defenders instead.
"[H]aving been a former prosecutor, as well as the length of time that service spans, makes a judge significantly more likely to rule against a motion to suppress. Former public defenders are significantly more likely to grant that suppression motion, though their propensity to do so is not affected by the length of time served in that capacity."
New article (Miller & Curry):
https://doi.org/10.1177/1532673X231175138