New York passes legislation that would ban 'addictive' socia