A deed, mortgage, or other instrument in writing that by law is required to be acknowledged affecting the title to lands, or any interest therein, shall not be recorded by the register of deeds of any county unless the deed, mortgage, or other instrument is acknowledged or proved as provided by this chapter.