There's an engineering principle, if you address a complex problem (or any problem) with a complex system, it's going to be buggy. Addressing complex social issues with complex legislation (Dodd-Frank, Sarbox, etc.) results in loopholes (bugs). Many lawmakers surely realize this, but their main goal is re-election, and
doing something (the equivalent of Dilbert moving his mouse around) gives the media something to report, which in turn keeps the lawmakers' names in front of the public and feeds the perception of positive action.
The equivalent of engineers are the staff lawyers who actually write the legislation, and cycle between government and industry positions, much like contract programmers; but in their case they get rewarded for the bugs they write in their code by advising industry clients on how to exploit them. (That of course is a simplification. Goldman is using lawyers experienced in parsing complex security laws, not necessarily the same ones who wrote the laws.)