Apple should just declare that they have been subject to Section 215. Given how many users Apple has it can't reasonably be argued that such a disclosure would be a danger to national security.
Hopefully they would end up before SCOTUS and help defang the USA PATRIOT Act.