r21987: split tdb_prs_*() functions in version which take a keystr and a TDB_DATA key