Other measures, like data protection laws, will still be necessary. But introducing certification and liability like an actual profession would be a good start.
This will greatly diminish startup culture. Fine. I'd rather have a few responsible companies out there playing by the rules than a thousand wildcats for whom rules are an inconvenience.