[lib] Update misc parts of lib to support MinimallyEncodedThreadInfo
Summary:
Went through and made changes throughout lib to support MinimallyEncodedThreadInfo where changes required were limited to updating signature.
Next diffs will involve changes that need to be made to message-specs and Redux.
Depends on D9889
Test Plan: Trusting Flow
Reviewers: ashoat, ginsu, tomek, rohan
Reviewed By: ashoat
Differential Revision: https://phab.comm.dev/D9890