The move comes as civil rights groups warn the surveillance data could aid federal immigration enforcement.