The concept of using analogue b&w correction filters on a digital camera has interested me for several years … even made a few exposures this afternoon through an orange filter.
Then it struck me … conventional analogue b&w film is excessively blue sensitive, hence the advantage of using a yellow (or darker) filter to darken the blue sky, with little or no deep (infra) red sensitivity, whereas digital cameras are inherently deep red and infra-red sensitive (to varying degrees) but not much so at the blue end of the spectrum.
Therefore analogue filter correction simply can't apply to digital cameras in the same way
As to how this relates to a "yellowed" lens I don't know, none of my Super Takumars (or any of my third-party lenses) have this symptom, so even though I'm currently having a "film renaissance", having finished the first roll of film in my Spotmatic this afternoon (the negs look good, I'll be scanning them tomorrow), I can't report on any performance issues