The Justice Department will get access to data that omits identifying information on third-party users.