Legislation seeks to outsmart ‘smart’ speakers