US court defends its support for collecting phone data