These verses are similar to 1:4-5. They summarize and introduce with historical references what follows. In a larger sense these verses summarize all of chapters 1-3. This is narration about Moses, not a discourse by Moses.
"This address, which is described in the heading as the law which Moses set before the Israelites, commences with a repetition of the decalogue, and a notice of the powerful impression which was made, through the proclamation of it by God Himself, upon the people who were assembled round Him at Horeb (chap. v). In the first and more general part, it shows that the true essence of the law, and of that righteousness which the Israelites were to strive after, consisted in loving Jehovah their God with all their heart (chap. vi); that the people were bound, by virtue of their election as the Lord's people of possession, to exterminate the Canaanites with their idolatrous worship, in order to rejoice in the blessing of God (chap. vii.); but more especially that, having regard on the one hand to the divine chastisement and humiliation which they had experienced in the desert (chap. viii.), and on the other hand to the frequency with which they had rebelled against their God (chap. ix. 1--x. 11), they were to beware of self-exaltation and self-righteousness, that in the land of Canaan, of which they were about to take possession, they might not forget their God when enjoying the rich productions of the land, but might retain the blessings of their God for ever by a faithful observance of the covenant (chap. x. 12--xi. 32). Then after this there follows an exposition of the different commandments of the law (chap. xii.--xxvi.)."64
The law (v. 44, Heb. torah) here refers to the covenant text itself rather than to the Pentateuch, its normal referent.
"The law given at Sinai is properly a suzerainty treaty rather than a legal code, and Deuteronomy is a covenant-renewal document. Consequently it has some modification or modernizations of the code given originally."65
". . . there is no distinctive anthropology in Deuteronomy because in this covenant text the individual is of relatively little significance. It is Israel, the vassal, that is highlighted in the book whose purpose is to show the Sovereign's redemptive, covenantal claims on and relationship to a people through whom He would manifest His saving will."66
Note that God gave this law, ". . . to the sons of Israel."As I have pointed out previously, the Mosaic Law had a double purpose. God gave it primarily as a revelation of Himself, mankind, and the essential requirements for their relationship. He has preserved it in Scripture for all believers because it still has this revelatory value. However, God also gave the law to regulate the life of the Israelites religiously,governmentally, and domestically. This regulatory purpose is what ended with the death of Jesus Christ. The law of Christ (Gal. 6:2) has replaced the Old (Mosaic) Covenant by specifying new regulations for believers since Jesus Christ died.
"Testimoniesdenoted covenant stipulations. Statuteswere laws that were written down or inscribed on some suitable medium. Ordinanceswere the decisions of a judge."67