Add a flag to force local recalculation of the metadata

Bug: T70687
Change-Id: I721dfcdb283b81c63cc4241786f593b1e5dcd065