After COVID ravaged nursing homes, new state laws protect residents