Validating //sessionID// and //deviceID// fields in database item entities using validation functions in `Tools`.
Note:
Validating empty strings are moved to [[ https://phabricator.ashoat.com/D3525 | D3525 ]] which will be merged.
Related linear task: [[ https://linear.app/comm/issue/ENG-618/edit | ENG-618 ]]