“the book of the law.” This is more good evidence that the Law was written down and not just passed on in oral tradition (cp. Josh. 8:31, 32, 34).
“the law of Moses.” The Hebrew is “the torah of Moses,” where “torah” is much more than “law.” The torah involves instruction in many different ways (see commentary on Prov. 1:8).