Instead of discovering wheel again, how about using Ideal Diode configuration?

The voltage drop VF across the forward biased diode in the circuit of
a passive rectifier is undesired. In this active version, the problem
is solved by connecting the diode in the negative feedback loop. The
op-amp compares the output voltage across the load with the input
voltage and increases its own output voltage with the value of VF. As
a result, the voltage drop VF is compensated and the circuit behaves
very nearly as an ideal (super) diode with VF = 0 V.
Source: https://en.wikipedia.org/wiki/Operational_amplifier_applications#Precision_rectifier
This way you will stay in safe side in means of absolute maximum rating for input which is Vss-0.5v (Ref: https://www.intersil.com/content/dam/intersil/documents/ca31/ca3130-a.pdf)
Edit:
I didn't state my reasoning clearly. As far as i understand, the problem arises when 0.5V input voltage spec is taken into account. It's hard to find low Vf and high speed diode but this changes when low Vf spec is relaxed; since 1N4148 alike components become possible to use.
So consider this an alternative solution.