Merge cherrypicks of [18167896] into security-aosp-sc-v2-release. Change-Id: Ie2a3739cad00d623afcff7b7b293dcea0c907005