Revert "Set METADATA flag"

This reverts commit 52c4631df426bd342a40cbb9a97b1d55a77fbd05.
Revert "d2-common: dex-opt to cache "

This reverts commit d0e101f856377d2e3354dfdc73961adbe0ab8853.