Amendment to law will strengthen protection against digital imitations of people’s identities, government says