The "Common Rule" appears to be a rule for the Federal agencies, and it is a rule, not a law.
Long jump from that to the illegality? But I'm certainly not a lawyer, whereas the article author seems to be "James Grimmelmann, Professor of Law, University of Maryland."
Strange.
And is the Maryland law relevant? By the author (from the article I've linked previously):
"But wait, you may be saying, Facebook isn’t in Maryland, and neither is OkCupid. True. But they have users in Maryland, and given the size of the experimental groups, it’s overwhelmingly likely that they experimented on residents of the state. Facebook manipulated with hundreds of thousands of News Feeds; that’s thousands of Marylanders. OkCupid gave bad recommendations to about five hundred users."
Well... "likely."
https://medium.com/@JamesGrimmelmann/illegal-unethical-and-m...
the author explains more clearly his position:
"Federal law — primarily the so-called “Common Rule”— ( http://www.hhs.gov/ohrp/humansubjects/commonrule/ ) regulates research on people in the United States. The details are complicated, the gist simple. If you engage in “research involving human subjects,” you must have two pieces of paper before you start. You need a signed informed consent form from the person you’re experimenting on, and you need approval from an IRB (short for “institutional review board”)."