Legislation for regulating crypto and stablecoins has become law in the UK, after passing the last stage of the UK's parliamentary procedure.