The National Defense Authorization Act would also overhaul the military justice system.
The president wants Congress to repeal Section 230 of the 1996 Communications Decency Act, a provision that provides legal protection for tech companies.