There is generally an obligation to report child pornography, child sex abuse, and so on. Absolutely, and rightly so.
There is no obligation to search. But if you consented to a technically-unnecessary search and the tech has an incentive to do that search...
The only real question is whether the techs here were government actors. If the government pays them for the actions that nets them the evidence needed to convict, then I'd say the tech is a government actor indeed.