The database search happened in 2022, but the trial and verdict occurred just as a national debate over government surveillance gains traction.