decodeOldRecord

Decodes HasOldRecord.oldRecord as T and returns it