I have a physical product company in a very heavily regulated industry and I suspect strongly that my attorney has far less to do than if I made software. I'll have to ask him, maybe I'm misunderstanding and screwing up bad
Having heavy regulations almost helps in some cases because it both discourages low level copycats and also protects you to a degree - if someone sues you can say "I followed all the compliance standards!". And hopefully you have the documents to back that up.