Profcollect: Fix two issues flagged by lint

Bug: 272547391
Test: presubmit
Change-Id: I4ac140f3f37c04866d9d88906c26720ce7c71a80
1 file changed