According to 10 U.S.C. Chapter 137, DoD must prescribe regulations to govern obtaining and protecting rights in contractor technical data and computer software. DoD implemented this requirement at DFARS Subparts 227.71 and 227.72 and related clauses and provisions at DFARS 252.227. DoD contractors and subcontractors must maintain records and furnish information on creation and disclosure of technical data, computer software, and computer software documentation and must justify restrictions on Government rights to use or disclose technical data, computer software or computer software documentation.
The latest form for DFARS Subpart 227.71, Rights in Technical Data, and Subpart 227.72, Rights in Computer Software and Computer Software Documentation, and related provisions and clauses expires 2022-12-31 and can be found here.