The country’s long-simmering tension between security and privacy is ratcheting up this year in statehouses, as mass data ...