Text this: The metric-valued Lebesgue differentiation theorem in measure spaces and its applications