New hotel law to aid police investigations