Don't use scoped_ptr, use std::move for proto

scoped_ptr is being removed from protobuf, use std::unique_ptr
instead.

Protos support std::move now, which trips the clang-tidy
modernize-pass-by-value check.  Change it to pass by value with
std::move.

Also fix a string in a test that has changed.

Bug: 117607748
Test: m checkbuild
Change-Id: Ib0c953a691903b75766524200d43a6ed2c7582c0
Merged-In: Ib0c953a691903b75766524200d43a6ed2c7582c0
4 files changed