New legislation seeks to close regulatory gaps to protect consumers and promote a competitive digital finance system