Republican lawmaker introduced the measure, claiming it would protect national security and American intellectual property.