Longest Property-Preserved Common Factor