The "Law of the Unconscious Statistician" is just a name for the fact that $E(g(X))$ is given by the formula you wrote. There is no difference.
The "Law of the Unconscious Statistician" is just a name for the fact that $E(g(X))$ is given by the formula you wrote. There is no difference.