Lawmakers and privacy experts on both sides of the political spectrum are sounding the alarm on a provision in a spy powers reform bill that one senator described as one of the “most terrifying expansions of government surveillance” in history.