Record-keeping for legal defense