WASHINGTON (AP) - President Barack Obama is expected to endorse changes to the way the government collects millions of Americans' phone records for possible future surveillance, but he'll leave many of the specific adjustments for Congress to sort out, according to three U.S. officials familiar with the White House intelligence review. That move would thrust much of the decision-making on Section 215 of the USA Patriot Act toward a branch of government that is deeply divided over the future of the surveillance apparatus. And members of Congress are in no hurry to settle their differences and quickly enact broad changes. Obama will speak about the bulk collections and other surveillance programs in a highly anticipated speech Friday at the Justice Department. The speech marks the culmination of a monthslong review sparked by former NSA systems analyst Edward Snowden, who leaked a trove of classified documents about the secret surveillance programs last year. In another revelation about NSA activities, The New York Times reported Tuesday that the agency has implanted software in nearly 100,000 computers around the world - but not in the United States - that allows the U.S. to conduct surveillance on those machines. The NSA calls the effort an "active defense" and has used the technology to monitor units of China's Army, the Russian military, drug cartels, trade institutions inside the European Union, and sometime U.S. partners against terrorism like Saudi Arabia, India and Pakistan, the Times reported. White House officials on Tuesday cautioned that the review Obama has been conducting is not complete and that the president could make additional decisions in the coming days. Obama is reviewing more than 40 recommendations from a presidential commission. The U.S. judiciary threw cold water on one proposal Obama has indicated he supports: putting an independent privacy advocate on the Foreign Intelligence Surveillance Court, which currently hears only from the government. Speaking for the entire judiciary, U.S. District Judge John D. Bates said Tuesday that appointing an independent advocate to the secret court is unnecessary and possibly counterproductive. Officials familiar with the White House review say another panel recommendation that has proven particularly challenging for Obama is one to strip the NSA of its authority to hold phone records from millions of Americans. The panel proposed moving the records to the phone companies or another third party and requiring the NSA to get separate authority from the Foreign Intelligence Surveillance Court each time it wants to access the data. Obama has suggested he is open to moving the data out of the NSA. But officials say he is unlikely to announce specific entities he believes should hold the records in the future, in part because telephone companies have balked at the proposal to bring the data back under their control. Some lawmakers are pushing for Obama to get specific in his recommendations about the future of the bulk collections. "It would be useful to set a timeline for the restructuring of the metadata program," said Rep. Adam Schiff, D-Calif. But I would not make the reforms reliant in all cases on congressional action. Many privacy advocates support requiring Congress to codify any changes to Section 215, arguing that legislation is the only way to ensure they last beyond Obama's presidency. And two phone executives said the cellular industry has told the government it would only accept changes to its role in the programs if they were legally required to do so. The executives spoke on condition of anonymity because they were not authorized to disclose the private discussions with the government. The U.S. officials insisted on anonymity because they were not authorized to discuss the White House review by name. Section 215 has been one of the most controversial aspects of the Patriot Act, which passed shortly after the Sept. 11, 2001, terrorist attacks and increased the government's surveillance powers. Congress reauthorized the law in 2011. The section became known as the "library records provision" because it allowed the government to seize a wide range of documents, including library records. It requires the government to show that there are "reasonable grounds to believe" that the records are relevant to an investigation intended to "protect against international terrorism or clandestine intelligence activities." Last month, a federal judge declared the program is probably unconstitutional and said there is little evidence it had thwarted any terror plot. The Justice Department has staunchly defended Section 215, saying it was narrowly written and has safeguarded liberties. The White House intelligence review will also address concerns among allies about monitoring of leaders and the public. The president is expected to announce broader oversight of the process that helps determine which foreign leaders are monitored. Officials say he is also looking for ways to extend some privacy protections to foreign citizens. Associated Press writers Stephen Braun and Nedra Pickler contributed to this report. Follow Julie Pace at http://twitter.com/jpaceDC and Kimberly Dozier at http://twitter.com/kimberlydozier