Use functions from shared utils rather than re-implementing.

Bug: T347086

Merge request reports

Loading