Presumably the distribution of an app that facilitates that would become illegal as well.

But would that actually stop people? I can say with certainty a law such as this would encourage me to go out of my way to create and distribute such software.