Take constituents array rather than memory_region in helper functions.

This will allow them to be reused in more places.

Bug: 132429380
Change-Id: I441214450c8fd1281656db2e153de735ebc60a01
1 file changed