AP blasts feds for phone records search