Text this: The gravitational Compton amplitude from flat and curved spacetimes at second post-Minkowskian order.